Automattic\WooCommerce\Admin\API\Products S

Total Complexity 30
Dependencies 3
Dependents 0
Total lines 270
Lines of code 155
Logical lines of code 76
Comment lines 80
Methods 11
Properties 2

Methods 11

Method Rating Maintainability Complexity Lines of code
prepare_object_for_response()
S
57 5 17
add_wp_query_filter()
S
51 4 28
add_wp_query_join()
S
56 4 17
add_wp_query_group_by()
S
64 4 9
prepare_objects_query()
S
61 3 12
get_item_schema()
S
54 2 22
get_collection_params()
S
59 1 15
get_object()
S
70 2 6
add_wp_query_fields()
S
64 2 10
append_product_sorting_table_join()
S
67 2 7
get_items()
S
61 1 12